CXX=g++
CFLAGS=-Werror -O4
# Flag (if any) to get the GD graphics library.
GDLIB=-lgd
LIB=/usr/local/lib
INCLUDE=/usr/local/include

mset.cgi: mset.cc cgi_param.o
	$(CXX) -o mset.cgi $(CFLAGS) -I$(INCLUDE) -L$(LIB) $(GDLIB) mset.cc cgi_param.o 

cgi_param.o: cgi_param.h cgi_param.cc
	$(CXX) -c $(CFLAGS) -I$(INCLUDE) cgi_param.cc
